using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Windows.Forms;
using CristiPotlog.Controls;
using ICP_MS.Plugin.Tune.Properties;

namespace ICP_MS.Plugin.Tune;

public class FormNewAutoTuneEditWizard : Form
{
	private DataTable dtLimitType = new DataTable();

	private string[] LimitType = new string[5]
	{
		Lang.Txt("Tune.None"),
		Lang.Txt("Tune.Max"),
		Lang.Txt("Tune.Min"),
		Lang.Txt("Tune.More"),
		Lang.Txt("Tune.Less")
	};

	private NewAutoTuneExperiment experiment = null;

	private bool isCreate = false;

	private IContainer components = null;

	private Wizard wizard1;

	private WizardPage wizardWelcom;

	private WizardPage wizardIsotopes;

	private WizardPage wizardConditions;

	private DataGridView dgvDevices;

	private GroupBox groupBox2;

	private Button btnDeleteRatios;

	private Button btnAddRatios;

	private DataGridView dgvRatios;

	private GroupBox groupBox1;

	private Button btnDeleteIsotope;

	private Button btnAddIsotope;

	private DataGridView dgvIsotopes;

	private WizardPage wizardSetting;

	private TreeView treeViewContents;

	private WizardPage wizardFinish;

	private WizardPage wizardView2;

	private TreeView treeViewDetail2;

	private DataGridViewTextBoxColumn dgvNumerator;

	private DataGridViewTextBoxColumn dgvDenominator;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;

	private DataGridViewTextBoxColumn colSymbol;

	private DataGridViewTextBoxColumn colMass;

	private DataGridViewTextBoxColumn colDwell;

	private GroupBox gbStageIsotope;

	private DataGridView dgvStageIsotope;

	private GroupBox gbStageDevice;

	private DataGridView dgvStageDevice;

	private NumericUpDown nudStageSweeps;

	private NumericUpDown nudStageIteration;

	private TextBox txtStageName;

	private Label lblStageSweep;

	private Label lblStageIteration;

	private Label lblStageName;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;

	private WizardPage wizardDescription;

	private TextBox txtCfgSolution;

	private Label label15;

	private TextBox txtCfgDescription;

	private Label label14;

	private TextBox txtCfgName;

	private Label label13;

	private DataGridViewCheckBoxColumn colStageUsed1;

	private DataGridViewTextBoxColumn colStageDevice1;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;

	private DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;

	private DataGridViewTextBoxColumn colStageAnalyte1;

	private DataGridViewComboBoxColumn colStageCondition1;

	private DataGridViewTextBoxColumn colStageLimit1;

	private Button btnLoadParam;

	private WizardPage wizardHistory;

	private GroupBox gbHistoryDescript;

	private Label lblHistoryDescript;

	private GroupBox gbHistoryDatas;

	private TreeView treeViewHistory;

	private DataGridViewCheckBoxColumn colUse;

	private DataGridViewCheckBoxColumn colUseDefault;

	private DataGridViewTextBoxColumn colConditions;

	private DataGridViewTextBoxColumn colMinValue;

	private DataGridViewTextBoxColumn colDefaultValue;

	private DataGridViewTextBoxColumn colMaxValue;

	private DataGridViewTextBoxColumn ColStep;

	private DataGridViewTextBoxColumn colError1;

	private DataGridViewTextBoxColumn colError2;

	public FormNewAutoTuneEditWizard()
	{
		InitializeComponent();
	}

	private void wizard1_Load(object sender, EventArgs e)
	{
		wizard1.NextText = Lang.Txt("Tune.Next");
		wizard1.BackText = Lang.Txt("Tune.Back");
		wizard1.CancelText = Lang.Txt("Tune.Cancel");
		wizard1.OkText = Lang.Txt("Tune.OK");
		wizard1.NextEnabled = false;
		dtLimitType.Columns.Add("LimitType", typeof(string));
		dtLimitType.Columns.Add("LimitValue", typeof(int));
		for (int i = 0; i < 5; i++)
		{
			dtLimitType.Rows.Add(LimitType[i], i);
		}
		colStageCondition1.DataSource = dtLimitType;
		colStageCondition1.DisplayMember = "LimitType";
		colStageCondition1.ValueMember = "LimitValue";
	}

	private void wizard1_AfterSwitchPages(object sender, Wizard.AfterSwitchPagesEventArgs e)
	{
		WizardPage newPage = wizard1.Pages[e.NewIndex];
		switch (e.NewIndex)
		{
		case 0:
			break;
		case 1:
			ShowIsotopesRatios();
			wizard1.BackEnabled = !isCreate;
			break;
		case 2:
			ShowDevices();
			wizard1.BackEnabled = true;
			break;
		case 3:
		{
			NewAutoTuneExperiment.TuneStage stage = ((e.OldIndex < e.NewIndex) ? experiment.FirstStage : experiment.LastStage);
			ShowStage();
			break;
		}
		case 4:
			ShowDetailView(treeViewDetail2);
			break;
		case 5:
			ShowConfig();
			break;
		case 6:
			break;
		}
	}

	private void wizard1_BeforeSwitchPages(object sender, Wizard.BeforeSwitchPagesEventArgs e)
	{
		WizardPage oldPage = wizard1.Pages[e.OldIndex];
		switch (e.OldIndex)
		{
		case 0:
			experiment = NewAutoTuneExperiment.LoadConfig("NewAutoTune");
			break;
		case 1:
			if (e.NewIndex > e.OldIndex && experiment.Isotopes.Count == 0)
			{
				MessageBox.Show(Lang.Txt("Tune.Text3"));
				e.Cancel = true;
			}
			experiment.UpdateTuneParams();
			break;
		case 2:
			if (e.NewIndex > e.OldIndex)
			{
				IEnumerable<NewAutoTuneExperiment.DeviceCondition> devices = experiment.Devices.Where((NewAutoTuneExperiment.DeviceCondition device) => device.Selected);
				if (devices.Count() == 0)
				{
					MessageBox.Show(Lang.Txt("Tune.Text4"));
					e.Cancel = true;
				}
				else
				{
					experiment.UpdateTuneDevices();
				}
			}
			break;
		case 3:
		{
			NewAutoTuneExperiment.TuneStage stage = experiment.CurrentStage;
			SaveStage();
			if (e.NewIndex > e.OldIndex)
			{
				if (stage.Used)
				{
					if (!CheckStage())
					{
						e.Cancel = true;
						break;
					}
					experiment.SelectNextStage();
				}
				else
				{
					if (experiment.CheckFrontStage())
					{
						break;
					}
					if (!experiment.CheckRearStage())
					{
						MessageBox.Show(Lang.Txt("Tune.Text7"));
						e.Cancel = true;
						break;
					}
					if (MessageBox.Show(Lang.Txt("Tune.Text5"), Lang.Txt("Tune.Text6"), MessageBoxButtons.YesNo) != DialogResult.Yes)
					{
						e.Cancel = true;
						break;
					}
					experiment.RemoveCurrentStage(direction: true);
				}
			}
			else
			{
				if (stage.Used)
				{
					if (!CheckStage())
					{
						e.Cancel = true;
						break;
					}
					experiment.SelectLastStage();
				}
				else
				{
					if (experiment.IsFirstStage)
					{
					}
					if (MessageBox.Show(Lang.Txt("Tune.Text5"), Lang.Txt("Tune.Text6"), MessageBoxButtons.YesNo) != DialogResult.Yes)
					{
						e.Cancel = true;
						break;
					}
					experiment.RemoveCurrentStage(direction: false);
				}
				if (experiment.CurrentStage == null)
				{
					break;
				}
			}
			e.Cancel = true;
			ShowStage();
			break;
		}
		case 4:
			break;
		case 5:
			SaveConfig();
			break;
		case 6:
			break;
		}
	}

	private void wizard1_Cancel(object sender, CancelEventArgs e)
	{
		if (MessageBox.Show(Lang.Txt("Tune.Text8"), Lang.Txt("Tune.Cancel"), MessageBoxButtons.YesNo) != DialogResult.Yes)
		{
			e.Cancel = true;
		}
	}

	private void wizard1_Finish(object sender, EventArgs e)
	{
		experiment.SaveConfig("NewAutoTune");
	}

	private void ShowHistoryFiles()
	{
		treeViewHistory.Nodes[0].Nodes.Clear();
		wizard1.BackEnabled = false;
		string[] files = AutoTuneExperiment.LoadAllConfigs();
		string[] array = files;
		foreach (string file in array)
		{
			string name = Path.GetFileNameWithoutExtension(file);
			treeViewHistory.Nodes[0].Nodes.Add(name, name);
		}
		if (experiment != null)
		{
			treeViewHistory.SelectedNode = treeViewHistory.Nodes[0].Nodes[experiment.Name];
			lblHistoryDescript.Text = experiment.Description;
		}
	}

	private void treeViewHistory_AfterSelect(object sender, TreeViewEventArgs e)
	{
		if (e.Node.Nodes.Count != 0)
		{
			treeViewHistory.SelectedNode = null;
			return;
		}
		string name = e.Node.Text;
		if (experiment != null && !(experiment.Name != name))
		{
			return;
		}
		try
		{
			NewAutoTuneExperiment exp = NewAutoTuneExperiment.LoadConfig(name);
			experiment = exp;
			lblHistoryDescript.Text = experiment.Description;
		}
		catch (Exception)
		{
			experiment = null;
			lblHistoryDescript.Text = "";
			treeViewHistory.Nodes[0].Nodes.Remove(e.Node);
			treeViewHistory.SelectedNode = null;
		}
	}

	private void ShowDetailView(TreeView tree)
	{
		tree.Nodes.Clear();
		if (experiment == null)
		{
			return;
		}
		foreach (NewAutoTuneExperiment.TuneStage stage in experiment.Stages)
		{
			if (!stage.Used)
			{
				continue;
			}
			TreeNode node = tree.Nodes.Add($"Stage: {stage.StageName};Iterations: {stage.Iterations};Sweeps: {stage.Sweeps}");
			TreeNode nodeP = node.Nodes.Add(Lang.Txt("Tune.Conditions"));
			foreach (NewAutoTuneExperiment.ParamConditon para in stage.Params.Where((NewAutoTuneExperiment.ParamConditon p) => p.Type != 0))
			{
				nodeP.Nodes.Add(para.Symbol + " " + LimitType[para.Type] + " " + para.Limit);
			}
			TreeNode nodeD = node.Nodes.Add(Lang.Txt("Tune.Control"));
			foreach (NewAutoTuneExperiment.DeviceCondition device in stage.Devices.Where((NewAutoTuneExperiment.DeviceCondition dev) => dev.Used))
			{
				nodeD.Nodes.Add($"{device.Device}-[{device.MinValue:0.0}:{device.DefaultValue:0.0}:{device.MaxValue:0.0}:{device.Step:0.0}]");
			}
		}
	}

	private void ShowIsotopesRatios()
	{
		ShowIsotopes();
		ShowRatios();
	}

	private void ShowIsotopes()
	{
		dgvIsotopes.AutoGenerateColumns = false;
		if (dgvIsotopes.DataSource == null)
		{
			dgvIsotopes.DataSource = experiment.Isotopes;
			return;
		}
		BindingContext[dgvIsotopes.DataSource].SuspendBinding();
		dgvIsotopes.DataSource = null;
		dgvIsotopes.DataSource = experiment.Isotopes;
		BindingContext[dgvIsotopes.DataSource].ResumeBinding();
	}

	private void ShowRatios()
	{
		dgvRatios.AutoGenerateColumns = false;
		if (dgvRatios.DataSource == null)
		{
			dgvRatios.DataSource = experiment.Ratios;
			return;
		}
		BindingContext[dgvRatios.DataSource].SuspendBinding();
		dgvRatios.DataSource = null;
		dgvRatios.DataSource = experiment.Ratios;
		BindingContext[dgvRatios.DataSource].ResumeBinding();
	}

	private void dgvRatios_CellFormatting(object sender, DataGridViewCellFormattingEventArgs e)
	{
		if (e.ColumnIndex >= 0 && e.RowIndex >= 0)
		{
			int columnIndex = e.ColumnIndex;
			int num = columnIndex;
			if ((uint)num <= 1u)
			{
				AutoTuneExperiment.TuneIsotope isotope = e.Value as AutoTuneExperiment.TuneIsotope;
				e.Value = isotope.Symbol;
			}
		}
	}

	private void btnAddIsotope_Click(object sender, EventArgs e)
	{
		FormMassSelect form = new FormMassSelect(DataBase.Instance);
		if (form.ShowDialog() == DialogResult.OK)
		{
			AnalyteIsotope isotope = form.SelectedIsotope;
			experiment.Isotopes.Add(new NewAutoTuneExperiment.TuneIsotope
			{
				Symbol = isotope.symbol,
				Mass = isotope.mass,
				Dwell = 10
			});
			ShowIsotopes();
		}
	}

	private void btnDeleteIsotope_Click(object sender, EventArgs e)
	{
		List<int> ids = new List<int>();
		foreach (DataGridViewRow row in dgvIsotopes.SelectedRows)
		{
			ids.Add(row.Index);
		}
		foreach (int id in ids)
		{
			experiment.Isotopes.RemoveAt(id);
		}
		ShowIsotopes();
	}

	private void btnAddRatios_Click(object sender, EventArgs e)
	{
		IEnumerable<string> symbols = experiment.Isotopes.Select((NewAutoTuneExperiment.TuneIsotope isotope) => isotope.Symbol);
		if (symbols == null || symbols.Count() < 2)
		{
			return;
		}
		FormAutoTuneNewRatio form = new FormAutoTuneNewRatio(symbols.ToArray());
		if (form.ShowDialog() == DialogResult.OK)
		{
			string numerator = form.Numerator;
			string denominator = form.Denominator;
			experiment.Ratios.Add(new NewAutoTuneExperiment.TuneRatio
			{
				Numerator = experiment.Isotopes.Where((NewAutoTuneExperiment.TuneIsotope isotope) => isotope.Symbol == numerator).First(),
				Denominator = experiment.Isotopes.Where((NewAutoTuneExperiment.TuneIsotope isotope) => isotope.Symbol == denominator).First(),
				Dwell = 10
			});
			ShowRatios();
		}
	}

	private void btnDeleteRatios_Click(object sender, EventArgs e)
	{
		List<int> ids = new List<int>();
		foreach (DataGridViewRow row in dgvRatios.SelectedRows)
		{
			ids.Add(row.Index);
		}
		foreach (int id in ids)
		{
			experiment.Ratios.RemoveAt(id);
		}
		ShowRatios();
	}

	private void ShowDevices()
	{
		experiment.InitTuneDevices();
		dgvDevices.AutoGenerateColumns = false;
		if (dgvDevices.DataSource == null)
		{
			dgvDevices.DataSource = experiment.Devices;
			return;
		}
		BindingContext[dgvDevices.DataSource].SuspendBinding();
		dgvDevices.DataSource = null;
		dgvDevices.DataSource = experiment.Devices;
		BindingContext[dgvDevices.DataSource].ResumeBinding();
	}

	private void ShowStage()
	{
		NewAutoTuneExperiment.TuneStage stage = experiment.CurrentStage;
		txtStageName.Text = stage.StageName;
		nudStageIteration.Value = Convert.ToDecimal(stage.Iterations);
		nudStageSweeps.Value = Convert.ToDecimal(stage.Sweeps);
		dgvStageDevice.AutoGenerateColumns = false;
		if (dgvStageDevice.DataSource == null)
		{
			dgvStageDevice.DataSource = stage.Devices;
		}
		else
		{
			BindingContext[dgvStageDevice.DataSource].SuspendBinding();
			dgvStageDevice.DataSource = null;
			dgvStageDevice.DataSource = stage.Devices;
			BindingContext[dgvStageDevice.DataSource].ResumeBinding();
		}
		dgvStageIsotope.AutoGenerateColumns = false;
		if (dgvStageIsotope.DataSource == null)
		{
			dgvStageIsotope.DataSource = stage.Params;
			return;
		}
		BindingContext[dgvStageIsotope.DataSource].SuspendBinding();
		dgvStageIsotope.DataSource = null;
		dgvStageIsotope.DataSource = stage.Params;
		BindingContext[dgvStageIsotope.DataSource].ResumeBinding();
	}

	private bool SaveStage()
	{
		NewAutoTuneExperiment.TuneStage stage = experiment.CurrentStage;
		stage.StageName = txtStageName.Text;
		stage.Iterations = decimal.ToInt32(nudStageIteration.Value);
		stage.Sweeps = decimal.ToInt32(nudStageSweeps.Value);
		stage.Used = stage.Devices.Exists((NewAutoTuneExperiment.DeviceCondition device) => device.Used) && stage.Params.Exists((NewAutoTuneExperiment.ParamConditon param) => param.Type != 0);
		return false;
	}

	private bool CheckStage()
	{
		NewAutoTuneExperiment.TuneStage stage = experiment.CurrentStage;
		int counts = stage.Params.Where((NewAutoTuneExperiment.ParamConditon param) => param.Type == 1 || param.Type == 2).Count();
		if (counts != 1)
		{
			MessageBox.Show(Lang.Txt("Tune.Text9"));
			return false;
		}
		return true;
	}

	private void ShowConfig()
	{
		txtCfgName.Text = experiment.Name;
		txtCfgDescription.Text = experiment.Description;
		txtCfgSolution.Text = experiment.Solution;
	}

	private void SaveConfig()
	{
		experiment.Name = txtCfgName.Text;
		experiment.Description = txtCfgDescription.Text;
		experiment.Solution = txtCfgSolution.Text;
	}

	private void btnLoadParam_Click(object sender, EventArgs e)
	{
		foreach (NewAutoTuneExperiment.DeviceCondition device in experiment.Devices)
		{
			switch (device.Id)
			{
			case 0:
				device.DefaultValue = PlatManager.plat.X;
				device.MinValue = 0.0;
				device.MaxValue = 20.0;
				break;
			case 1:
				device.DefaultValue = PlatManager.plat.Z;
				device.MinValue = 0.0;
				device.MaxValue = 20.0;
				break;
			case 2:
				device.DefaultValue = PlatManager.plat.Y;
				device.MinValue = 0.0;
				device.MaxValue = 20.0;
				break;
			case 3:
				device.DefaultValue = LensManager.x2lens.Ex;
				device.MinValue = device.DefaultValue - 100.0;
				device.MaxValue = device.DefaultValue + 100.0;
				break;
			case 4:
				device.DefaultValue = LensManager.x2lens.L1;
				device.MinValue = device.DefaultValue - 100.0;
				device.MaxValue = device.DefaultValue + 100.0;
				break;
			case 5:
				device.DefaultValue = LensManager.x2lens.L2;
				device.MinValue = device.DefaultValue - 10.0;
				device.MaxValue = device.DefaultValue + 10.0;
				break;
			case 6:
				device.DefaultValue = LensManager.x2lens.F;
				device.MinValue = device.DefaultValue - 5.0;
				device.MaxValue = device.DefaultValue + 5.0;
				break;
			case 7:
				device.DefaultValue = LensManager.x2lens.D1;
				device.MinValue = device.DefaultValue - 10.0;
				device.MaxValue = device.DefaultValue + 10.0;
				break;
			case 8:
				device.DefaultValue = LensManager.x2lens.D2;
				device.MinValue = device.DefaultValue - 10.0;
				device.MaxValue = device.DefaultValue + 10.0;
				break;
			case 9:
				device.DefaultValue = LensManager.x2lens.QE;
				device.MinValue = device.DefaultValue - 10.0;
				device.MaxValue = device.DefaultValue + 10.0;
				break;
			case 10:
				device.DefaultValue = LensManager.x2lens.Pole;
				break;
			case 11:
				device.DefaultValue = LensManager.x2lens.L3;
				break;
			case 12:
				device.DefaultValue = LensManager.x2lens.DA;
				device.MinValue = device.DefaultValue - 10.0;
				device.MaxValue = device.DefaultValue + 10.0;
				break;
			case 13:
				device.DefaultValue = PlasmaManager.plasma.Nebuliser;
				device.MinValue = device.DefaultValue - 0.1;
				device.MaxValue = device.DefaultValue + 0.1;
				break;
			case 14:
				device.DefaultValue = PlasmaManager.plasma.Cool;
				break;
			case 15:
				device.DefaultValue = PlasmaManager.plasma.Auxiliary;
				break;
			case 16:
				device.DefaultValue = PlasmaManager.plasma.Collision;
				break;
			default:
				device.DefaultValue = PlasmaManager.plasma.Power;
				device.MinValue = device.DefaultValue - 100.0;
				device.MaxValue = device.DefaultValue + 100.0;
				break;
			}
		}
		dgvDevices.Refresh();
	}

	protected override void Dispose(bool disposing)
	{
		if (disposing && components != null)
		{
			components.Dispose();
		}
		base.Dispose(disposing);
	}

	private void InitializeComponent()
	{
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
		System.Windows.Forms.TreeNode treeNode1 = new System.Windows.Forms.TreeNode("历史数据");
		this.treeViewContents = new System.Windows.Forms.TreeView();
		this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.wizard1 = new CristiPotlog.Controls.Wizard();
		this.wizardConditions = new CristiPotlog.Controls.WizardPage();
		this.btnLoadParam = new System.Windows.Forms.Button();
		this.dgvDevices = new System.Windows.Forms.DataGridView();
		this.wizardIsotopes = new CristiPotlog.Controls.WizardPage();
		this.groupBox2 = new System.Windows.Forms.GroupBox();
		this.btnDeleteRatios = new System.Windows.Forms.Button();
		this.btnAddRatios = new System.Windows.Forms.Button();
		this.dgvRatios = new System.Windows.Forms.DataGridView();
		this.dgvNumerator = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dgvDenominator = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.groupBox1 = new System.Windows.Forms.GroupBox();
		this.btnDeleteIsotope = new System.Windows.Forms.Button();
		this.btnAddIsotope = new System.Windows.Forms.Button();
		this.dgvIsotopes = new System.Windows.Forms.DataGridView();
		this.colSymbol = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.colMass = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.colDwell = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.wizardWelcom = new CristiPotlog.Controls.WizardPage();
		this.wizardSetting = new CristiPotlog.Controls.WizardPage();
		this.gbStageIsotope = new System.Windows.Forms.GroupBox();
		this.dgvStageIsotope = new System.Windows.Forms.DataGridView();
		this.colStageAnalyte1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.colStageCondition1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
		this.colStageLimit1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.gbStageDevice = new System.Windows.Forms.GroupBox();
		this.dgvStageDevice = new System.Windows.Forms.DataGridView();
		this.colStageUsed1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
		this.colStageDevice1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.nudStageSweeps = new System.Windows.Forms.NumericUpDown();
		this.nudStageIteration = new System.Windows.Forms.NumericUpDown();
		this.txtStageName = new System.Windows.Forms.TextBox();
		this.lblStageSweep = new System.Windows.Forms.Label();
		this.lblStageIteration = new System.Windows.Forms.Label();
		this.lblStageName = new System.Windows.Forms.Label();
		this.wizardFinish = new CristiPotlog.Controls.WizardPage();
		this.wizardDescription = new CristiPotlog.Controls.WizardPage();
		this.txtCfgSolution = new System.Windows.Forms.TextBox();
		this.label15 = new System.Windows.Forms.Label();
		this.txtCfgDescription = new System.Windows.Forms.TextBox();
		this.label14 = new System.Windows.Forms.Label();
		this.txtCfgName = new System.Windows.Forms.TextBox();
		this.label13 = new System.Windows.Forms.Label();
		this.wizardView2 = new CristiPotlog.Controls.WizardPage();
		this.treeViewDetail2 = new System.Windows.Forms.TreeView();
		this.wizardHistory = new CristiPotlog.Controls.WizardPage();
		this.gbHistoryDescript = new System.Windows.Forms.GroupBox();
		this.lblHistoryDescript = new System.Windows.Forms.Label();
		this.gbHistoryDatas = new System.Windows.Forms.GroupBox();
		this.treeViewHistory = new System.Windows.Forms.TreeView();
		this.colUse = new System.Windows.Forms.DataGridViewCheckBoxColumn();
		this.colUseDefault = new System.Windows.Forms.DataGridViewCheckBoxColumn();
		this.colConditions = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.colMinValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.colDefaultValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.colMaxValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.ColStep = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.colError1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.colError2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
		this.wizard1.SuspendLayout();
		this.wizardConditions.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.dgvDevices).BeginInit();
		this.wizardIsotopes.SuspendLayout();
		this.groupBox2.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.dgvRatios).BeginInit();
		this.groupBox1.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.dgvIsotopes).BeginInit();
		this.wizardSetting.SuspendLayout();
		this.gbStageIsotope.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.dgvStageIsotope).BeginInit();
		this.gbStageDevice.SuspendLayout();
		((System.ComponentModel.ISupportInitialize)this.dgvStageDevice).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudStageSweeps).BeginInit();
		((System.ComponentModel.ISupportInitialize)this.nudStageIteration).BeginInit();
		this.wizardDescription.SuspendLayout();
		this.wizardView2.SuspendLayout();
		this.wizardHistory.SuspendLayout();
		this.gbHistoryDescript.SuspendLayout();
		this.gbHistoryDatas.SuspendLayout();
		base.SuspendLayout();
		this.treeViewContents.LineColor = System.Drawing.Color.Empty;
		this.treeViewContents.Location = new System.Drawing.Point(3, 67);
		this.treeViewContents.Name = "treeViewContents";
		this.treeViewContents.Size = new System.Drawing.Size(510, 232);
		this.treeViewContents.TabIndex = 0;
		this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn1.DataPropertyName = "Numerator";
		this.dataGridViewTextBoxColumn1.HeaderText = "分子";
		this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
		this.dataGridViewTextBoxColumn1.ReadOnly = true;
		this.dataGridViewTextBoxColumn2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn2.DataPropertyName = "Denominator";
		this.dataGridViewTextBoxColumn2.HeaderText = "分母";
		this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
		this.dataGridViewTextBoxColumn2.ReadOnly = true;
		this.dataGridViewTextBoxColumn4.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn4.DataPropertyName = "Symbol";
		this.dataGridViewTextBoxColumn4.HeaderText = "元素";
		this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
		this.dataGridViewTextBoxColumn4.ReadOnly = true;
		this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn5.DataPropertyName = "Mass";
		this.dataGridViewTextBoxColumn5.HeaderText = "质量数";
		this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
		this.dataGridViewTextBoxColumn5.ReadOnly = true;
		this.dataGridViewTextBoxColumn6.DataPropertyName = "Dwell";
		this.dataGridViewTextBoxColumn6.HeaderText = "驻留时间";
		this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
		this.dataGridViewTextBoxColumn6.ReadOnly = true;
		this.dataGridViewTextBoxColumn7.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn7.DataPropertyName = "Device";
		this.dataGridViewTextBoxColumn7.HeaderText = "硬件";
		this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
		this.dataGridViewTextBoxColumn7.ReadOnly = true;
		this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn8.DataPropertyName = "MinValue";
		this.dataGridViewTextBoxColumn8.HeaderText = "最小值";
		this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
		this.dataGridViewTextBoxColumn8.ReadOnly = true;
		this.dataGridViewTextBoxColumn9.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn9.DataPropertyName = "DefaultValue";
		this.dataGridViewTextBoxColumn9.HeaderText = "默认值";
		this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
		this.dataGridViewTextBoxColumn9.ReadOnly = true;
		this.dataGridViewTextBoxColumn10.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn10.DataPropertyName = "MaxValue";
		this.dataGridViewTextBoxColumn10.HeaderText = "最大值";
		this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
		this.dataGridViewTextBoxColumn10.ReadOnly = true;
		this.dataGridViewTextBoxColumn11.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn11.DataPropertyName = "Dwell";
		this.dataGridViewTextBoxColumn11.FillWeight = 80f;
		this.dataGridViewTextBoxColumn11.HeaderText = "驻留时间";
		this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
		this.dataGridViewTextBoxColumn11.ReadOnly = true;
		this.dataGridViewTextBoxColumn12.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn12.DataPropertyName = "Limit";
		this.dataGridViewTextBoxColumn12.FillWeight = 80f;
		this.dataGridViewTextBoxColumn12.HeaderText = "元素";
		this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
		this.dataGridViewTextBoxColumn12.ReadOnly = true;
		this.dataGridViewTextBoxColumn12.Resizable = System.Windows.Forms.DataGridViewTriState.True;
		this.dataGridViewTextBoxColumn12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.dataGridViewTextBoxColumn13.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn13.DataPropertyName = "Device";
		this.dataGridViewTextBoxColumn13.HeaderText = "阈值";
		this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
		this.dataGridViewTextBoxColumn13.Resizable = System.Windows.Forms.DataGridViewTriState.True;
		this.dataGridViewTextBoxColumn13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.wizard1.Controls.Add(this.wizardFinish);
		this.wizard1.Controls.Add(this.wizardDescription);
		this.wizard1.Controls.Add(this.wizardView2);
		this.wizard1.Controls.Add(this.wizardSetting);
		this.wizard1.Controls.Add(this.wizardConditions);
		this.wizard1.Controls.Add(this.wizardIsotopes);
		this.wizard1.Controls.Add(this.wizardWelcom);
		this.wizard1.Controls.Add(this.wizardHistory);
		this.wizard1.HeaderImage = ICP_MS.Plugin.Tune.Properties.Resources.AutoTurnEdit;
		this.wizard1.Location = new System.Drawing.Point(0, 0);
		this.wizard1.Margin = new System.Windows.Forms.Padding(4);
		this.wizard1.Name = "wizard1";
		this.wizard1.Pages.AddRange(new CristiPotlog.Controls.WizardPage[7] { this.wizardWelcom, this.wizardIsotopes, this.wizardConditions, this.wizardSetting, this.wizardView2, this.wizardDescription, this.wizardFinish });
		this.wizard1.Size = new System.Drawing.Size(890, 464);
		this.wizard1.TabIndex = 0;
		this.wizard1.WelcomeImage = ICP_MS.Plugin.Tune.Properties.Resources.wizardWelcom;
		this.wizard1.BeforeSwitchPages += new CristiPotlog.Controls.Wizard.BeforeSwitchPagesEventHandler(wizard1_BeforeSwitchPages);
		this.wizard1.AfterSwitchPages += new CristiPotlog.Controls.Wizard.AfterSwitchPagesEventHandler(wizard1_AfterSwitchPages);
		this.wizard1.Cancel += new System.ComponentModel.CancelEventHandler(wizard1_Cancel);
		this.wizard1.Finish += new System.EventHandler(wizard1_Finish);
		this.wizard1.Load += new System.EventHandler(wizard1_Load);
		this.wizardConditions.Controls.Add(this.btnLoadParam);
		this.wizardConditions.Controls.Add(this.dgvDevices);
		this.wizardConditions.Description = "请选择要调谐的硬件和参数";
		this.wizardConditions.Location = new System.Drawing.Point(0, 0);
		this.wizardConditions.Margin = new System.Windows.Forms.Padding(4);
		this.wizardConditions.Name = "wizardConditions";
		this.wizardConditions.Size = new System.Drawing.Size(890, 416);
		this.wizardConditions.TabIndex = 12;
		this.wizardConditions.Title = "选择调谐硬件";
		this.btnLoadParam.Location = new System.Drawing.Point(614, 385);
		this.btnLoadParam.Name = "btnLoadParam";
		this.btnLoadParam.Size = new System.Drawing.Size(110, 28);
		this.btnLoadParam.TabIndex = 1;
		this.btnLoadParam.Text = "加载当前参数";
		this.btnLoadParam.UseVisualStyleBackColor = true;
		this.btnLoadParam.Click += new System.EventHandler(btnLoadParam_Click);
		this.dgvDevices.AllowUserToAddRows = false;
		this.dgvDevices.AllowUserToDeleteRows = false;
		this.dgvDevices.AllowUserToResizeRows = false;
		dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
		dataGridViewCellStyle4.Font = new System.Drawing.Font("Microsoft Sans Serif", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
		dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
		dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
		dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
		dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
		this.dgvDevices.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
		this.dgvDevices.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
		this.dgvDevices.Columns.AddRange(this.colUse, this.colUseDefault, this.colConditions, this.colMinValue, this.colDefaultValue, this.colMaxValue, this.ColStep, this.colError1, this.colError2);
		this.dgvDevices.Location = new System.Drawing.Point(4, 85);
		this.dgvDevices.Margin = new System.Windows.Forms.Padding(4);
		this.dgvDevices.Name = "dgvDevices";
		this.dgvDevices.RowHeadersVisible = false;
		this.dgvDevices.RowTemplate.Height = 23;
		this.dgvDevices.Size = new System.Drawing.Size(873, 289);
		this.dgvDevices.TabIndex = 0;
		this.wizardIsotopes.Controls.Add(this.groupBox2);
		this.wizardIsotopes.Controls.Add(this.groupBox1);
		this.wizardIsotopes.Description = "选择调谐需要用到的元素";
		this.wizardIsotopes.Location = new System.Drawing.Point(0, 0);
		this.wizardIsotopes.Margin = new System.Windows.Forms.Padding(4);
		this.wizardIsotopes.Name = "wizardIsotopes";
		this.wizardIsotopes.Size = new System.Drawing.Size(890, 416);
		this.wizardIsotopes.TabIndex = 11;
		this.wizardIsotopes.Title = "选择调谐元素";
		this.groupBox2.Controls.Add(this.btnDeleteRatios);
		this.groupBox2.Controls.Add(this.btnAddRatios);
		this.groupBox2.Controls.Add(this.dgvRatios);
		this.groupBox2.Location = new System.Drawing.Point(81, 238);
		this.groupBox2.Margin = new System.Windows.Forms.Padding(4);
		this.groupBox2.Name = "groupBox2";
		this.groupBox2.Padding = new System.Windows.Forms.Padding(4);
		this.groupBox2.Size = new System.Drawing.Size(655, 140);
		this.groupBox2.TabIndex = 1;
		this.groupBox2.TabStop = false;
		this.groupBox2.Text = "比率";
		this.btnDeleteRatios.Location = new System.Drawing.Point(511, 88);
		this.btnDeleteRatios.Margin = new System.Windows.Forms.Padding(4);
		this.btnDeleteRatios.Name = "btnDeleteRatios";
		this.btnDeleteRatios.Size = new System.Drawing.Size(100, 29);
		this.btnDeleteRatios.TabIndex = 4;
		this.btnDeleteRatios.Text = "删除";
		this.btnDeleteRatios.UseVisualStyleBackColor = true;
		this.btnDeleteRatios.Visible = false;
		this.btnDeleteRatios.Click += new System.EventHandler(btnDeleteRatios_Click);
		this.btnAddRatios.Location = new System.Drawing.Point(511, 39);
		this.btnAddRatios.Margin = new System.Windows.Forms.Padding(4);
		this.btnAddRatios.Name = "btnAddRatios";
		this.btnAddRatios.Size = new System.Drawing.Size(100, 29);
		this.btnAddRatios.TabIndex = 3;
		this.btnAddRatios.Text = "添加";
		this.btnAddRatios.UseVisualStyleBackColor = true;
		this.btnAddRatios.Visible = false;
		this.btnAddRatios.Click += new System.EventHandler(btnAddRatios_Click);
		this.dgvRatios.AllowUserToAddRows = false;
		this.dgvRatios.AllowUserToDeleteRows = false;
		dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
		dataGridViewCellStyle5.Font = new System.Drawing.Font("Microsoft Sans Serif", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
		dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
		dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
		dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
		dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
		this.dgvRatios.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle5;
		this.dgvRatios.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
		this.dgvRatios.Columns.AddRange(this.dgvNumerator, this.dgvDenominator, this.dataGridViewTextBoxColumn3);
		this.dgvRatios.Location = new System.Drawing.Point(8, 25);
		this.dgvRatios.Margin = new System.Windows.Forms.Padding(4);
		this.dgvRatios.Name = "dgvRatios";
		this.dgvRatios.RowTemplate.Height = 23;
		this.dgvRatios.Size = new System.Drawing.Size(461, 106);
		this.dgvRatios.TabIndex = 3;
		this.dgvRatios.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(dgvRatios_CellFormatting);
		this.dgvNumerator.DataPropertyName = "Numerator";
		this.dgvNumerator.HeaderText = "分子";
		this.dgvNumerator.Name = "dgvNumerator";
		this.dgvNumerator.ReadOnly = true;
		this.dgvDenominator.DataPropertyName = "Denominator";
		this.dgvDenominator.HeaderText = "分母";
		this.dgvDenominator.Name = "dgvDenominator";
		this.dgvDenominator.ReadOnly = true;
		this.dataGridViewTextBoxColumn3.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.dataGridViewTextBoxColumn3.DataPropertyName = "Dwell";
		this.dataGridViewTextBoxColumn3.HeaderText = "驻留时间";
		this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
		this.dataGridViewTextBoxColumn3.ReadOnly = true;
		this.groupBox1.Controls.Add(this.btnDeleteIsotope);
		this.groupBox1.Controls.Add(this.btnAddIsotope);
		this.groupBox1.Controls.Add(this.dgvIsotopes);
		this.groupBox1.Location = new System.Drawing.Point(81, 92);
		this.groupBox1.Margin = new System.Windows.Forms.Padding(4);
		this.groupBox1.Name = "groupBox1";
		this.groupBox1.Padding = new System.Windows.Forms.Padding(4);
		this.groupBox1.Size = new System.Drawing.Size(656, 139);
		this.groupBox1.TabIndex = 0;
		this.groupBox1.TabStop = false;
		this.groupBox1.Text = "调谐元素";
		this.btnDeleteIsotope.Location = new System.Drawing.Point(511, 86);
		this.btnDeleteIsotope.Margin = new System.Windows.Forms.Padding(4);
		this.btnDeleteIsotope.Name = "btnDeleteIsotope";
		this.btnDeleteIsotope.Size = new System.Drawing.Size(100, 29);
		this.btnDeleteIsotope.TabIndex = 2;
		this.btnDeleteIsotope.Text = "删除";
		this.btnDeleteIsotope.UseVisualStyleBackColor = true;
		this.btnDeleteIsotope.Visible = false;
		this.btnDeleteIsotope.Click += new System.EventHandler(btnDeleteIsotope_Click);
		this.btnAddIsotope.Location = new System.Drawing.Point(511, 38);
		this.btnAddIsotope.Margin = new System.Windows.Forms.Padding(4);
		this.btnAddIsotope.Name = "btnAddIsotope";
		this.btnAddIsotope.Size = new System.Drawing.Size(100, 29);
		this.btnAddIsotope.TabIndex = 1;
		this.btnAddIsotope.Text = "添加";
		this.btnAddIsotope.UseVisualStyleBackColor = true;
		this.btnAddIsotope.Visible = false;
		this.btnAddIsotope.Click += new System.EventHandler(btnAddIsotope_Click);
		this.dgvIsotopes.AllowUserToAddRows = false;
		this.dgvIsotopes.AllowUserToDeleteRows = false;
		dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
		dataGridViewCellStyle6.Font = new System.Drawing.Font("Microsoft Sans Serif", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
		dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
		dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
		dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
		dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
		this.dgvIsotopes.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
		this.dgvIsotopes.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
		this.dgvIsotopes.Columns.AddRange(this.colSymbol, this.colMass, this.colDwell);
		this.dgvIsotopes.Location = new System.Drawing.Point(8, 25);
		this.dgvIsotopes.Margin = new System.Windows.Forms.Padding(4);
		this.dgvIsotopes.Name = "dgvIsotopes";
		this.dgvIsotopes.RowTemplate.Height = 23;
		this.dgvIsotopes.Size = new System.Drawing.Size(461, 106);
		this.dgvIsotopes.TabIndex = 0;
		this.colSymbol.DataPropertyName = "Symbol";
		this.colSymbol.HeaderText = "元素";
		this.colSymbol.Name = "colSymbol";
		this.colSymbol.ReadOnly = true;
		this.colMass.DataPropertyName = "Mass";
		this.colMass.HeaderText = "质量数";
		this.colMass.Name = "colMass";
		this.colMass.ReadOnly = true;
		this.colDwell.DataPropertyName = "Dwell";
		this.colDwell.HeaderText = "驻留时间";
		this.colDwell.Name = "colDwell";
		this.colDwell.ReadOnly = true;
		this.wizardWelcom.Description = "使用这个向导编辑调谐配置";
		this.wizardWelcom.Location = new System.Drawing.Point(0, 0);
		this.wizardWelcom.Margin = new System.Windows.Forms.Padding(4);
		this.wizardWelcom.Name = "wizardWelcom";
		this.wizardWelcom.Size = new System.Drawing.Size(890, 416);
		this.wizardWelcom.Style = CristiPotlog.Controls.WizardPageStyle.Welcome;
		this.wizardWelcom.TabIndex = 10;
		this.wizardWelcom.Title = "自动调谐配置";
		this.wizardSetting.Controls.Add(this.gbStageIsotope);
		this.wizardSetting.Controls.Add(this.gbStageDevice);
		this.wizardSetting.Controls.Add(this.nudStageSweeps);
		this.wizardSetting.Controls.Add(this.nudStageIteration);
		this.wizardSetting.Controls.Add(this.txtStageName);
		this.wizardSetting.Controls.Add(this.lblStageSweep);
		this.wizardSetting.Controls.Add(this.lblStageIteration);
		this.wizardSetting.Controls.Add(this.lblStageName);
		this.wizardSetting.Description = "设置各调谐步骤的具体条件和参数";
		this.wizardSetting.Location = new System.Drawing.Point(0, 0);
		this.wizardSetting.Margin = new System.Windows.Forms.Padding(4);
		this.wizardSetting.Name = "wizardSetting";
		this.wizardSetting.Size = new System.Drawing.Size(890, 416);
		this.wizardSetting.TabIndex = 13;
		this.wizardSetting.Title = "设置调谐条件和参数";
		this.gbStageIsotope.Controls.Add(this.dgvStageIsotope);
		this.gbStageIsotope.Location = new System.Drawing.Point(320, 144);
		this.gbStageIsotope.Margin = new System.Windows.Forms.Padding(4);
		this.gbStageIsotope.Name = "gbStageIsotope";
		this.gbStageIsotope.Padding = new System.Windows.Forms.Padding(4);
		this.gbStageIsotope.Size = new System.Drawing.Size(441, 219);
		this.gbStageIsotope.TabIndex = 7;
		this.gbStageIsotope.TabStop = false;
		this.gbStageIsotope.Text = "调谐条件";
		this.dgvStageIsotope.AllowUserToAddRows = false;
		this.dgvStageIsotope.AllowUserToDeleteRows = false;
		this.dgvStageIsotope.AllowUserToResizeRows = false;
		dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
		dataGridViewCellStyle1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
		dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
		dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
		dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
		dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
		this.dgvStageIsotope.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
		this.dgvStageIsotope.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
		this.dgvStageIsotope.Columns.AddRange(this.colStageAnalyte1, this.colStageCondition1, this.colStageLimit1);
		this.dgvStageIsotope.Dock = System.Windows.Forms.DockStyle.Fill;
		this.dgvStageIsotope.Location = new System.Drawing.Point(4, 22);
		this.dgvStageIsotope.Margin = new System.Windows.Forms.Padding(4);
		this.dgvStageIsotope.Name = "dgvStageIsotope";
		this.dgvStageIsotope.RowHeadersVisible = false;
		this.dgvStageIsotope.RowTemplate.Height = 23;
		this.dgvStageIsotope.Size = new System.Drawing.Size(433, 193);
		this.dgvStageIsotope.TabIndex = 0;
		this.colStageAnalyte1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colStageAnalyte1.DataPropertyName = "Symbol";
		this.colStageAnalyte1.FillWeight = 80f;
		this.colStageAnalyte1.HeaderText = "元素";
		this.colStageAnalyte1.Name = "colStageAnalyte1";
		this.colStageAnalyte1.ReadOnly = true;
		this.colStageCondition1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colStageCondition1.DataPropertyName = "Type";
		this.colStageCondition1.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing;
		this.colStageCondition1.HeaderText = "条件";
		this.colStageCondition1.Name = "colStageCondition1";
		this.colStageLimit1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colStageLimit1.DataPropertyName = "Limit";
		this.colStageLimit1.HeaderText = "阈值";
		this.colStageLimit1.Name = "colStageLimit1";
		this.colStageLimit1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
		this.colStageLimit1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable;
		this.gbStageDevice.Controls.Add(this.dgvStageDevice);
		this.gbStageDevice.Location = new System.Drawing.Point(84, 144);
		this.gbStageDevice.Margin = new System.Windows.Forms.Padding(4);
		this.gbStageDevice.Name = "gbStageDevice";
		this.gbStageDevice.Padding = new System.Windows.Forms.Padding(4);
		this.gbStageDevice.Size = new System.Drawing.Size(232, 219);
		this.gbStageDevice.TabIndex = 6;
		this.gbStageDevice.TabStop = false;
		this.gbStageDevice.Text = "调谐参数";
		this.dgvStageDevice.AllowUserToAddRows = false;
		this.dgvStageDevice.AllowUserToDeleteRows = false;
		this.dgvStageDevice.AllowUserToResizeRows = false;
		dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
		dataGridViewCellStyle2.Font = new System.Drawing.Font("Microsoft Sans Serif", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 134);
		dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
		dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
		dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
		dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
		this.dgvStageDevice.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
		this.dgvStageDevice.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
		this.dgvStageDevice.Columns.AddRange(this.colStageUsed1, this.colStageDevice1);
		this.dgvStageDevice.Dock = System.Windows.Forms.DockStyle.Fill;
		this.dgvStageDevice.Location = new System.Drawing.Point(4, 22);
		this.dgvStageDevice.Margin = new System.Windows.Forms.Padding(4);
		this.dgvStageDevice.Name = "dgvStageDevice";
		this.dgvStageDevice.RowHeadersVisible = false;
		dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
		this.dgvStageDevice.RowsDefaultCellStyle = dataGridViewCellStyle3;
		this.dgvStageDevice.RowTemplate.Height = 23;
		this.dgvStageDevice.Size = new System.Drawing.Size(224, 193);
		this.dgvStageDevice.TabIndex = 0;
		this.colStageUsed1.DataPropertyName = "Used";
		this.colStageUsed1.HeaderText = "选择";
		this.colStageUsed1.Name = "colStageUsed1";
		this.colStageUsed1.Resizable = System.Windows.Forms.DataGridViewTriState.True;
		this.colStageUsed1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
		this.colStageUsed1.Width = 40;
		this.colStageDevice1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colStageDevice1.DataPropertyName = "Device";
		this.colStageDevice1.HeaderText = "硬件";
		this.colStageDevice1.Name = "colStageDevice1";
		this.nudStageSweeps.Location = new System.Drawing.Point(537, 111);
		this.nudStageSweeps.Margin = new System.Windows.Forms.Padding(4);
		this.nudStageSweeps.Name = "nudStageSweeps";
		this.nudStageSweeps.Size = new System.Drawing.Size(160, 25);
		this.nudStageSweeps.TabIndex = 5;
		this.nudStageIteration.Location = new System.Drawing.Point(242, 111);
		this.nudStageIteration.Margin = new System.Windows.Forms.Padding(4);
		this.nudStageIteration.Name = "nudStageIteration";
		this.nudStageIteration.Size = new System.Drawing.Size(160, 25);
		this.nudStageIteration.TabIndex = 4;
		this.txtStageName.Location = new System.Drawing.Point(242, 78);
		this.txtStageName.Margin = new System.Windows.Forms.Padding(4);
		this.txtStageName.Name = "txtStageName";
		this.txtStageName.Size = new System.Drawing.Size(453, 25);
		this.txtStageName.TabIndex = 3;
		this.lblStageSweep.AutoSize = true;
		this.lblStageSweep.Location = new System.Drawing.Point(442, 119);
		this.lblStageSweep.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblStageSweep.Name = "lblStageSweep";
		this.lblStageSweep.Size = new System.Drawing.Size(82, 15);
		this.lblStageSweep.TabIndex = 2;
		this.lblStageSweep.Text = "扫描次数：";
		this.lblStageIteration.AutoSize = true;
		this.lblStageIteration.Location = new System.Drawing.Point(148, 119);
		this.lblStageIteration.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblStageIteration.Name = "lblStageIteration";
		this.lblStageIteration.Size = new System.Drawing.Size(82, 15);
		this.lblStageIteration.TabIndex = 1;
		this.lblStageIteration.Text = "调整次数：";
		this.lblStageName.AutoSize = true;
		this.lblStageName.Location = new System.Drawing.Point(148, 85);
		this.lblStageName.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblStageName.Name = "lblStageName";
		this.lblStageName.Size = new System.Drawing.Size(82, 15);
		this.lblStageName.TabIndex = 0;
		this.lblStageName.Text = "步骤名称：";
		this.wizardFinish.Description = "点击OK完成设置";
		this.wizardFinish.Location = new System.Drawing.Point(0, 0);
		this.wizardFinish.Margin = new System.Windows.Forms.Padding(4);
		this.wizardFinish.Name = "wizardFinish";
		this.wizardFinish.Size = new System.Drawing.Size(890, 416);
		this.wizardFinish.Style = CristiPotlog.Controls.WizardPageStyle.Finish;
		this.wizardFinish.TabIndex = 15;
		this.wizardFinish.Title = "完成";
		this.wizardDescription.Controls.Add(this.txtCfgSolution);
		this.wizardDescription.Controls.Add(this.label15);
		this.wizardDescription.Controls.Add(this.txtCfgDescription);
		this.wizardDescription.Controls.Add(this.label14);
		this.wizardDescription.Controls.Add(this.txtCfgName);
		this.wizardDescription.Controls.Add(this.label13);
		this.wizardDescription.Description = "保存名称及说明";
		this.wizardDescription.Location = new System.Drawing.Point(0, 0);
		this.wizardDescription.Margin = new System.Windows.Forms.Padding(4);
		this.wizardDescription.Name = "wizardDescription";
		this.wizardDescription.Size = new System.Drawing.Size(890, 416);
		this.wizardDescription.TabIndex = 23;
		this.wizardDescription.Title = "名称和说明";
		this.txtCfgSolution.Location = new System.Drawing.Point(111, 276);
		this.txtCfgSolution.Margin = new System.Windows.Forms.Padding(4);
		this.txtCfgSolution.Multiline = true;
		this.txtCfgSolution.Name = "txtCfgSolution";
		this.txtCfgSolution.Size = new System.Drawing.Size(535, 92);
		this.txtCfgSolution.TabIndex = 5;
		this.label15.AutoSize = true;
		this.label15.Location = new System.Drawing.Point(20, 281);
		this.label15.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label15.Name = "label15";
		this.label15.Size = new System.Drawing.Size(82, 15);
		this.label15.TabIndex = 4;
		this.label15.Text = "调谐溶液：";
		this.txtCfgDescription.Location = new System.Drawing.Point(111, 136);
		this.txtCfgDescription.Margin = new System.Windows.Forms.Padding(4);
		this.txtCfgDescription.Multiline = true;
		this.txtCfgDescription.Name = "txtCfgDescription";
		this.txtCfgDescription.Size = new System.Drawing.Size(535, 123);
		this.txtCfgDescription.TabIndex = 3;
		this.label14.AutoSize = true;
		this.label14.Location = new System.Drawing.Point(20, 144);
		this.label14.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label14.Name = "label14";
		this.label14.Size = new System.Drawing.Size(82, 15);
		this.label14.TabIndex = 2;
		this.label14.Text = "配置说明：";
		this.txtCfgName.Location = new System.Drawing.Point(111, 96);
		this.txtCfgName.Margin = new System.Windows.Forms.Padding(4);
		this.txtCfgName.Name = "txtCfgName";
		this.txtCfgName.Size = new System.Drawing.Size(535, 25);
		this.txtCfgName.TabIndex = 1;
		this.label13.AutoSize = true;
		this.label13.Location = new System.Drawing.Point(20, 102);
		this.label13.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.label13.Name = "label13";
		this.label13.Size = new System.Drawing.Size(82, 15);
		this.label13.TabIndex = 0;
		this.label13.Text = "配置名称：";
		this.wizardView2.Controls.Add(this.treeViewDetail2);
		this.wizardView2.Description = "查看并确认自动调谐各步骤和参数";
		this.wizardView2.Location = new System.Drawing.Point(0, 0);
		this.wizardView2.Margin = new System.Windows.Forms.Padding(4);
		this.wizardView2.Name = "wizardView2";
		this.wizardView2.Size = new System.Drawing.Size(890, 416);
		this.wizardView2.TabIndex = 22;
		this.wizardView2.Title = "确认调谐配置";
		this.treeViewDetail2.Location = new System.Drawing.Point(4, 84);
		this.treeViewDetail2.Margin = new System.Windows.Forms.Padding(4);
		this.treeViewDetail2.Name = "treeViewDetail2";
		this.treeViewDetail2.Size = new System.Drawing.Size(849, 289);
		this.treeViewDetail2.TabIndex = 1;
		this.wizardHistory.Controls.Add(this.gbHistoryDescript);
		this.wizardHistory.Controls.Add(this.gbHistoryDatas);
		this.wizardHistory.Description = "选择一个已存在的历史调谐配置";
		this.wizardHistory.Location = new System.Drawing.Point(0, 0);
		this.wizardHistory.Name = "wizardHistory";
		this.wizardHistory.Size = new System.Drawing.Size(752, 416);
		this.wizardHistory.TabIndex = 24;
		this.wizardHistory.Title = "选择历史配置";
		this.gbHistoryDescript.Controls.Add(this.lblHistoryDescript);
		this.gbHistoryDescript.Location = new System.Drawing.Point(360, 83);
		this.gbHistoryDescript.Margin = new System.Windows.Forms.Padding(4);
		this.gbHistoryDescript.Name = "gbHistoryDescript";
		this.gbHistoryDescript.Padding = new System.Windows.Forms.Padding(4);
		this.gbHistoryDescript.Size = new System.Drawing.Size(341, 292);
		this.gbHistoryDescript.TabIndex = 3;
		this.gbHistoryDescript.TabStop = false;
		this.gbHistoryDescript.Text = "配置说明";
		this.lblHistoryDescript.Dock = System.Windows.Forms.DockStyle.Fill;
		this.lblHistoryDescript.Location = new System.Drawing.Point(4, 22);
		this.lblHistoryDescript.Margin = new System.Windows.Forms.Padding(4, 0, 4, 0);
		this.lblHistoryDescript.Name = "lblHistoryDescript";
		this.lblHistoryDescript.Size = new System.Drawing.Size(333, 266);
		this.lblHistoryDescript.TabIndex = 0;
		this.lblHistoryDescript.Text = "label1";
		this.gbHistoryDatas.Controls.Add(this.treeViewHistory);
		this.gbHistoryDatas.Location = new System.Drawing.Point(25, 82);
		this.gbHistoryDatas.Margin = new System.Windows.Forms.Padding(4);
		this.gbHistoryDatas.Name = "gbHistoryDatas";
		this.gbHistoryDatas.Padding = new System.Windows.Forms.Padding(4);
		this.gbHistoryDatas.Size = new System.Drawing.Size(327, 292);
		this.gbHistoryDatas.TabIndex = 2;
		this.gbHistoryDatas.TabStop = false;
		this.gbHistoryDatas.Text = "历史配置";
		this.treeViewHistory.Dock = System.Windows.Forms.DockStyle.Fill;
		this.treeViewHistory.Location = new System.Drawing.Point(4, 22);
		this.treeViewHistory.Margin = new System.Windows.Forms.Padding(4);
		this.treeViewHistory.Name = "treeViewHistory";
		treeNode1.Name = "nodeHitoryRoot";
		treeNode1.Text = "历史数据";
		this.treeViewHistory.Nodes.AddRange(new System.Windows.Forms.TreeNode[1] { treeNode1 });
		this.treeViewHistory.Size = new System.Drawing.Size(319, 266);
		this.treeViewHistory.TabIndex = 0;
		this.treeViewHistory.AfterSelect += new System.Windows.Forms.TreeViewEventHandler(treeViewHistory_AfterSelect);
		this.colUse.DataPropertyName = "Selected";
		this.colUse.HeaderText = "选择";
		this.colUse.Name = "colUse";
		this.colUse.Resizable = System.Windows.Forms.DataGridViewTriState.True;
		this.colUse.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
		this.colUse.Width = 40;
		this.colUseDefault.DataPropertyName = "Force";
		this.colUseDefault.HeaderText = "默认值";
		this.colUseDefault.Name = "colUseDefault";
		this.colUseDefault.Width = 40;
		this.colConditions.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colConditions.DataPropertyName = "Device";
		this.colConditions.FillWeight = 50f;
		this.colConditions.HeaderText = "硬件";
		this.colConditions.Name = "colConditions";
		this.colConditions.ReadOnly = true;
		this.colMinValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colMinValue.DataPropertyName = "MinValue";
		this.colMinValue.FillWeight = 35.16484f;
		this.colMinValue.HeaderText = "最小值";
		this.colMinValue.Name = "colMinValue";
		this.colDefaultValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colDefaultValue.DataPropertyName = "DefaultValue";
		this.colDefaultValue.FillWeight = 35.16484f;
		this.colDefaultValue.HeaderText = "默认值";
		this.colDefaultValue.Name = "colDefaultValue";
		this.colMaxValue.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colMaxValue.DataPropertyName = "MaxValue";
		this.colMaxValue.FillWeight = 35.16484f;
		this.colMaxValue.HeaderText = "最大值";
		this.colMaxValue.Name = "colMaxValue";
		this.ColStep.DataPropertyName = "Step";
		this.ColStep.HeaderText = "步进值";
		this.ColStep.Name = "ColStep";
		this.colError1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colError1.DataPropertyName = "ReadErr";
		this.colError1.FillWeight = 35.16484f;
		this.colError1.HeaderText = "设定 误差";
		this.colError1.Name = "colError1";
		this.colError2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
		this.colError2.DataPropertyName = "FinishErr";
		this.colError2.FillWeight = 35.16484f;
		this.colError2.HeaderText = "完成 误差";
		this.colError2.Name = "colError2";
		this.colError2.Visible = false;
		base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
		base.ClientSize = new System.Drawing.Size(890, 464);
		base.Controls.Add(this.wizard1);
		base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D;
		base.Margin = new System.Windows.Forms.Padding(4);
		base.MaximizeBox = false;
		base.MinimizeBox = false;
		base.Name = "FormNewAutoTuneEditWizard";
		base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
		this.Text = "自动调谐";
		this.wizard1.ResumeLayout(false);
		this.wizardConditions.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.dgvDevices).EndInit();
		this.wizardIsotopes.ResumeLayout(false);
		this.groupBox2.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.dgvRatios).EndInit();
		this.groupBox1.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.dgvIsotopes).EndInit();
		this.wizardSetting.ResumeLayout(false);
		this.wizardSetting.PerformLayout();
		this.gbStageIsotope.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.dgvStageIsotope).EndInit();
		this.gbStageDevice.ResumeLayout(false);
		((System.ComponentModel.ISupportInitialize)this.dgvStageDevice).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudStageSweeps).EndInit();
		((System.ComponentModel.ISupportInitialize)this.nudStageIteration).EndInit();
		this.wizardDescription.ResumeLayout(false);
		this.wizardDescription.PerformLayout();
		this.wizardView2.ResumeLayout(false);
		this.wizardHistory.ResumeLayout(false);
		this.gbHistoryDescript.ResumeLayout(false);
		this.gbHistoryDatas.ResumeLayout(false);
		base.ResumeLayout(false);
	}
}
